#ifndef __NAND_FLASH_H
#define __NAND_FLASH_H

#include "s3c2440.h"
#include "type.h"
#include "my_printf.h"
#include "string_utils.h"

void nand_init(void);

void nand_chip_id(void);

void nand_read(uint32 addr, uint8 *buf, uint32 len);

void nand_flash_test(void);

#endif
